import http from './http';
// 获取详情页数据
export const getDetail = (id) => http.get('/topic/' + id);

// 点赞
export const goodLive = (reply_id) => http.post('/reply/' + reply_id + '/ups');

// 发布评论
export const addComment = (reply_id, data) => http.post('/topic/' + reply_id + '/replies', data);
